<h2 class="contentTitle">Edit Staff: <TMPL_VAR NAME=STAFF_TITLE> <TMPL_VAR NAME=PLAYER_PLAYER_NAME></h2>

<div class="contentBody">
<fieldset>
<table class="contentTable">
<tr>
<td class="label">Title:</td>
<td><input type=text name=STAFF_TITLE value="<TMPL_VAR NAME=STAFF_TITLE>" size=40><br>
<small>Title of position held.</small>
</td>
</tr>

<tr>
<td class="label">Position Type:</td>
<td><select name="FK_STAFFTYPE_ID"><TMPL_VAR NAME=STAFFTYPE_STAFFTYPE_OPTIONS></select><br>
<small>The type of position.</small>
</td>
</tr>

<tr>
<td colspan=2>
<input type=button class="button" onClick="addObject('STAFFTYPE','<TMPL_VAR NAME=o>');" value="Add Position Type">
<input type=button class="button" onClick="updateObject('STAFF','<TMPL_VAR NAME=o>','<TMPL_VAR NAME=p>');" value="Update &raquo;">
</td>
</tr>

<tr>
<td class="label">Player:</td>
<td><select name="FK_PLAYER_ID"><TMPL_VAR NAME=PLAYER_PLAYER_OPTIONS></select>
<small>The player holding the position.</small>
</td>
</tr>

<tr>
<td colspan=2>
<input type=button class="button" onClick="addObject('PLAYER','<TMPL_VAR NAME=o>');" value="Add Player">
<input type=button class="button" onClick="updateObject('STAFF','<TMPL_VAR NAME=o>','<TMPL_VAR NAME=p>');" value="Update &raquo;">
</td>
</tr>

<tr>
<td class="label">Start Date:</td>
<td><input type=text name=STAFF_SIGNDATE value="<TMPL_VAR NAME=STAFF_SIGNDATE>" size=10><br>
<small>Date person was recruited. Format: yyyy-mm-dd</small>
</td>
</tr>

<tr>
<td class="label">Leaving Date:</td>
<td><input type=text name=STAFF_LEAVEDATE value="<TMPL_VAR NAME=STAFF_LEAVEDATE>" size=10><br>
<small>Date person left position. Format: yyyy-mm-dd</small>
</td>
</tr>

<tr>
<td class="label">Notes:</td>
<td><textarea name=STAFF_NOTES rows=5 cols=50><TMPL_VAR NAME=STAFF_NOTES></textarea><br>
<small>Enter any notes about this member of staff.</small>
</td>
</tr>

        <tr>
        <th colspan=2>Related Content</th>
        </tr>

<tr>
<td class="label">Related News:</td>
<td><select name="RELATED_NEWS" multiple size=7>
<TMPL_VAR NAME=REALTED_OPTIONS_NEWS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_NEWS_></td>
</tr>
<tr>
<td class="label">Related Matches:</td>
<td><select name="RELATED_MATCHSTATS" multiple size=7>
<TMPL_VAR NAME=RELATED_OPTIONS_MATCHSTATS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_MATCHSTATS_></td>
</tr>
<tr>
<td class="label">Old Content IDs:</td>
<td><input type=text name="RELATEDOLD_IDS" size=80 value=""><br>
<small>Comma seperated list of os to related to this </small></td>
</tr>
</table>
<div class="submit">
<input type=button class="button" onClick="updateObject('STAFF','<TMPL_VAR NAME=PK_OBJECT_ID>','<TMPL_VAR NAME=FK_PARENT_ID>');" value="Update &raquo;">
</div>
</fieldset>
</div>

